package com.mysky.client.mvp.audioplayer.popup;

import com.google.gwt.user.client.Window;
import com.google.inject.Inject;
import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.mvp.client.PopupView;
import com.gwtplatform.mvp.client.PresenterWidget;
import com.mysky.client.mvp.audioplayer.WidgetAudioPresenter;

public class PopupAudioPresenter extends
		PresenterWidget<PopupAudioPresenter.MyView> {

	public interface MyView extends PopupView {
	}

	public static final Object SLOT_AUDIO = new Object();
		
	@Inject
	public PopupAudioPresenter(final EventBus eventBus, final MyView view) {
		super(eventBus, view);
	}

	@Inject
	WidgetAudioPresenter widgetAudioPresenter;

	@Override
	protected void onBind() {
		super.onBind();
	}
	
	@Override
	protected void onReveal() {
		super.onReveal();
		setInSlot(SLOT_AUDIO, widgetAudioPresenter);
	}
}
